package com.iplay.vo.hotel;

import com.iplay.service.query.QueryCondition.Operator;
import com.iplay.service.query.annotation.QueryCondition;

public class HotelFilterVO{
	@QueryCondition(value = "rating", operator = Operator.GE)
	private Double minRating;
	@QueryCondition(value = "minimumPrice", operator = Operator.GE)
	private Double minPrice;
	@QueryCondition(value = "minimumPrice", operator = Operator.LE)
	private Double maxPrice;
	@QueryCondition(operator=Operator.LIKE)
	private String name;
	
	public HotelFilterVO() {}
	
	public HotelFilterVO(Double minRating, Double minPrice, Double maxPrice, String name) {
		super();
		this.minRating = minRating;
		this.minPrice = minPrice;
		this.maxPrice = maxPrice;
		this.name = name;
	}

	public Double getMinRating() {
		return minRating;
	}

	public void setMinRating(Double minRating) {
		this.minRating = minRating;
	}

	public Double getMinPrice() {
		return minPrice;
	}

	public void setMinPrice(Double minPrice) {
		this.minPrice = minPrice;
	}

	public Double getMaxPrice() {
		return maxPrice;
	}

	public void setMaxPrice(Double maxPrice) {
		this.maxPrice = maxPrice;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
